package com.baox.agridata.synchronous.service;


import com.baox.agridata.synchronous.entity.TCCAAEntity;

import java.util.List;

public interface TCCAAService {


    /**
     * 插入本省动物A数据
     *
     * @param tccaaEntity
     * @return
     */
    Integer insertIntoTCCAA(TCCAAEntity tccaaEntity);


    /**
     * 根据mid查询动物A证数据
     *
     * @param mid
     * @return
     */
    TCCAAEntity selectTCCAAById(String mid);


    /**
     * 动物A证数据更新
     *
     * @param tccaaEntity
     * @return
     */
    Integer updateTCCAAById(TCCAAEntity tccaaEntity);


    /**
     * 成都A证数据已回收后，将数据状态返回给成都
     *
     * @param createTime
     * @return
     */
    List<TCCAAEntity> selectChengDuAnimalALandingBack(String createTime, String endTime);


    /**
     * 查询四川接收到成都的动物A证数据
     *
     * @param startTime
     * @param endTime
     * @return
     */
    Integer selectSiChuanReceiveCDAnimalA(String startTime, String endTime);


}
